package cn.openea.perpartner.timeline.web.service;

import cn.openea.perpartner.timeline.web.entity.InsTicket;
import cn.openea.perpartner.timeline.web.entity.dto.SearchDto;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * (InsTicket)表服务接口
 *
 * @author Weird077
 * @since 2022-12-11 22:16:28
 */
public interface InsTicketService extends IService<InsTicket> {

    /**
     * 我参与的工单
     * 查询工单列表
     * @param dto 用户id
     * @return
     */
    List<InsTicket> selectAll(SearchDto dto);
    /**
     * 我发布的工单
     * @param dto 用户id
     * @return
     */
    List<InsTicket> selectCreatedList(SearchDto dto);
}

